<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>导航栏</title>
		<link rel="stylesheet" type="text/css" href="./css/learn-HomePage/learn-homePage.css"/>
		<script src="jquery/jquery-1.11.3.min.js"></script>
	</head>
	<body>
		<header>
			<a name="dbl"></a>
			<div class="dbl">
				<div>
					<img src="img/learn-HomePage-img/farbnf.png" class="logo"/>
				</div>
				<div>
					<ul>
						<li id="a">
							<div class="one"  style="height: 50px; width: 50px;">
								<img src="img/learn-HomePage-img/3.png" class="tx" id="show"  />
							</div>
							<ul id="erji" class="erji">
								<li><a href="learn_Personal.html">个人中心</a></li>
								<li><a href="javascript:;"><span onclick="close_plan();">退出</span></a></li>
							</ul>
						</li>
						<li id="a"><a href="learn_WrongBook.html">错题本</a></li>
						<li id="a"><a href="learn-Testrecords.html">考试记录</a></li>
						<li id="a"><a href="">试卷中心</a></li>
						<li id="a"><a href="learn_IntelligentTraining.html">智能训练</a></li>
						<li id="a"><a href="learn-VideoClass.html">视频课堂</a></li>
						<li id="a"><a href="learn-Homepage.html">首页</a></li>
					</ul>
				</div>
				
			</div>
			
		</header>
	</body>
	<script>
		//头像下二级菜单
		var show = document.getElementById("show")
		var erji1 = document.getElementById("erji");
		show.onclick = function(){
			if(erji1.style.display=="none"){
				erji1.style.display="block";
			}else{
				erji1.style.display="none";
			}
		}
		
		
		
		//退出
		function close_plan(){
			
		    if(confirm("您确定要退出本系统吗？")){
		        window.opener=null;
		        window.open('','_self');
		        window.close();
		    }
		    else{
		   }
		}
	</script>
</html>
